<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
  <meta http-equiv="Content-Type" content=
  "text/html; charset=us-ascii">

  <title>Using Packages</title>
  <link rel="stylesheet" type="text/css" href=
  "../../../styles.css">
</head>

<body>
  <h2>Using Packages</h2>

  <p>Although you can partition libraries by placing them in
  separate model files, packages provide a way to organize
  libraries within the same model file. Packages can be
  hierarchical and can contain libraries or other
  packages:</p><img alt="Packages" src=
  "../../images/main_diagram_packages.png">

  <p>When generating C++ code, packages will map to namespaces.</p>

  <div class="note">
    <p>If you have numerous nested packages you may want to review
    <a href="../diagrams/arranging_figures.html">arranging
    figures</a> on how to automatically resize and reposition your
    packages and package contents so they don't overlap.</p>
  </div>
</body>
</html>
